<%@ taglib uri="/WEB-INF/tld/struts-tiles.tld/" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld/" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld/" prefix="logic"%>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld/" prefix="html"%>
<%@ page import = "ar.pmt.core.utiles.BOUtils" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><bean:message key="pmt.title" /></title>


<link href="css/styles.css" rel="stylesheet" type="text/css" />
<link href="css/menu-horiz.css" rel="stylesheet" type="text/css" />
<link href="css/displaytag.css" rel="stylesheet" type="text/css" />
<link href="css/tablesWithScroll.css" rel="stylesheet" type="text/css" />
<link href="css/calendar-win2k-cold-1.css" rel="stylesheet" type="text/css" />


<script type="text/javascript" src="js/yahoo-dom-event.js"></script>
<script type="text/javascript" src="js/ie-select-width-fix.js"></script>
<script type="text/javascript" src="js/md5.js"></script>

<script type="text/javascript" src="js/dateExtras.js"></script>
<script type="text/javascript" src="js/array.js"></script>
<script type="text/javascript" src="js/tableFilter.js"></script>
<script type="text/javascript" src="js/common.js"></script>

<script type="text/javascript" src="js/calendar.js"></script>
<script type="text/javascript" src="js/calendar-es.js"></script>
<script type="text/javascript" src="js/calendar-setup.js"></script>

<script type="text/javascript" src="js/scriptaculous/lib/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous/src/scriptaculous.js"></script>

</head>

<body>
<table class="layoutTable" border="0">
  <tr>
    <td colspan="4"><tiles:insert attribute="header" /></td>
  </tr>
   <tr class="horizontalMenu">
      <td colspan="4"><tiles:insert attribute="horizontalMenu" /></td>
   </tr>
   <tr class="contentContainer">
      <td colspan="4">
         <div id="displayTile" class="content" style="position: relative;">
            <tiles:insert attribute="display" />
         </div>
      </td>
   </tr>

   <tr>
      <td colspan="4" class="footer">
      		<bean:message key="footer.mensaje" />&nbsp;<div id="footer" class="footerError">
      		<logic:messagesPresent>
				<html:messages id="error">
					<html:errors property="errores_leves" />
				</html:messages>
			</logic:messagesPresent>
			</div>
			<div id="footer" class="footerAdvertencia">
			<logic:messagesPresent>
				<html:messages id="error">
					<html:errors property="errores_advertencia" />
				</html:messages>
			</logic:messagesPresent>
			</div>
			 <div  class="footerError" id="estadoImportacionId"></div>
			 <html:hidden styleId="variableImportacionId" property="variableImportacion" value='<%=request.getSession().getAttribute("estadoImportacion").toString()%>'/>
			 
			 <html:hidden styleId="importandoId" property="variableImportacion" value='<%=BOUtils.obtenerValorResources(request, "pmt.estado.importacion.importando")%>'/>
			 <html:hidden styleId="importacionOkId" property="variableImportacion" value='<%=BOUtils.obtenerValorResources(request, "pmt.estado.importacion.ok")%>'/>
			 <html:hidden styleId="importacionNokId" property="variableImportacion" value='<%=BOUtils.obtenerValorResources(request, "pmt.estado.importacion.nok")%>'/>
			 
  			<script>importando();</script>
      	</td>
   </tr>
</table>
<script>

</script>
</body>
</html>

